home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlaed1.z / dlaed1
Encoding:
Text File  |  2002-10-03  |  5.9 KB  |  199 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAAEEEEDDDD1111((((3333SSSS))))                                                          DDDDLLLLAAAAEEEEDDDD1111((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLAED1 - compute the updated eigensystem of a diagonal matrix after
  10.      modification by a rank-one symmetric matrix
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DLAED1( N, D, Q, LDQ, INDXQ, RHO, CUTPNT, WORK, IWORK, INFO )
  14.  
  15.          INTEGER        CUTPNT, INFO, LDQ, N
  16.  
  17.          DOUBLE         PRECISION RHO
  18.  
  19.          INTEGER        INDXQ( * ), IWORK( * )
  20.  
  21.          DOUBLE         PRECISION D( * ), Q( LDQ, * ), WORK( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DLAED1 computes the updated eigensystem of a diagonal matrix after
  38.      modification by a rank-one symmetric matrix. This routine is used only
  39.      for the eigenproblem which requires all eigenvalues and eigenvectors of a
  40.      tridiagonal matrix.  DLAED7 handles the case in which eigenvalues only or
  41.      eigenvalues and eigenvectors of a full symmetric matrix (which was
  42.      reduced to tridiagonal form) are desired.
  43.  
  44.        T = Q(in) ( D(in) + RHO * Z*Z' ) Q'(in) = Q(out) * D(out) * Q'(out)
  45.  
  46.         where Z = Q'u, u is a vector of length N with ones in the
  47.         CUTPNT and CUTPNT + 1 th elements and zeros elsewhere.
  48.  
  49.         The eigenvectors of the original matrix are stored in Q, and the
  50.         eigenvalues are in D.  The algorithm consists of three stages:
  51.  
  52.            The first stage consists of deflating the size of the problem
  53.            when there are multiple eigenvalues or if there is a zero in
  54.            the Z vector.  For each such occurence the dimension of the
  55.            secular equation problem is reduced by one.  This stage is
  56.            performed by the routine DLAED2.
  57.  
  58.            The second stage consists of calculating the updated
  59.            eigenvalues. This is done by finding the roots of the secular
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAAEEEEDDDD1111((((3333SSSS))))                                                          DDDDLLLLAAAAEEEEDDDD1111((((3333SSSS))))
  71.  
  72.  
  73.  
  74.            equation via the routine DLAED4 (as called by DLAED3).
  75.            This routine also calculates the eigenvectors of the current
  76.            problem.
  77.  
  78.            The final stage consists of computing the updated eigenvectors
  79.            directly using the updated eigenvalues.  The eigenvectors for
  80.            the current problem are multiplied with the eigenvectors from
  81.            the overall problem.
  82.  
  83.  
  84. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  85.      N      (input) INTEGER
  86.             The dimension of the symmetric tridiagonal matrix.  N >= 0.
  87.  
  88.      D      (input/output) DOUBLE PRECISION array, dimension (N)
  89.             On entry, the eigenvalues of the rank-1-perturbed matrix.  On
  90.             exit, the eigenvalues of the repaired matrix.
  91.  
  92.      Q      (input/output) DOUBLE PRECISION array, dimension (LDQ,N)
  93.             On entry, the eigenvectors of the rank-1-perturbed matrix.  On
  94.             exit, the eigenvectors of the repaired tridiagonal matrix.
  95.  
  96.      LDQ    (input) INTEGER
  97.             The leading dimension of the array Q.  LDQ >= max(1,N).
  98.  
  99.      INDXQ  (input/output) INTEGER array, dimension (N)
  100.             On entry, the permutation which separately sorts the two
  101.             subproblems in D into ascending order.  On exit, the permutation
  102.             which will reintegrate the subproblems back into sorted order,
  103.             i.e. D( INDXQ( I = 1, N ) ) will be in ascending order.
  104.  
  105.      RHO    (input) DOUBLE PRECISION
  106.             The subdiagonal entry used to create the rank-1 modification.
  107.  
  108.             CUTPNT (input) INTEGER The location of the last eigenvalue in the
  109.             leading sub-matrix.  min(1,N) <= CUTPNT <= N/2.
  110.  
  111.      WORK   (workspace) DOUBLE PRECISION array, dimension (4*N + N**2)
  112.  
  113.      IWORK  (workspace) INTEGER array, dimension (4*N)
  114.  
  115.      INFO   (output) INTEGER
  116.             = 0:  successful exit.
  117.             < 0:  if INFO = -i, the i-th argument had an illegal value.
  118.             > 0:  if INFO = 1, an eigenvalue did not converge
  119.  
  120. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  121.      Based on contributions by
  122.         Jeff Rutter, Computer Science Division, University of California
  123.         at Berkeley, USA
  124.      Modified by Francoise Tisseur, University of Tennessee.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDLLLLAAAAEEEEDDDD1111((((3333SSSS))))                                                          DDDDLLLLAAAAEEEEDDDD1111((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.